<style>
.wrapper{
	width: 1245px;
	margin: 0 auto;
	height: 100%;
}
.m-nav{
	display: none;
}
.isMobile{
	display: none;
}
/* 登录 */
.login{
	height: 100vh;
	background: url(../images/bj.jpg) no-repeat center;
	-moz-background-size: cover;
	     background-size: cover;
}
.login .wrapper{
	position: relative;
}
.login-bd{
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
	overflow: hidden;
	width: 100%;
	height: 500px;
	-moz-border-radius: 8px;
	     border-radius: 8px;
} 
.login-bd-left{
	float: left;
	display: table;
	width: 825px;
	height: 100%;
	background: rgba(49,49,49,.55);
}
.login-bd-left .txt{
	display: table-cell;
	vertical-align: middle;
	font-size: 48px;
	color: #fff;
	text-align: center;
	letter-spacing: 3px;
}
.login-bd-left .txt p{
	font-size: 34px;
	font-family: MicrosoftYaHeiLight;
	color: rgba(255,255,255,.45);
	letter-spacing: -2px;
}
.login-bd-right{
	float: left;
	background: #fff;
	padding: 5px 30px;
	width: 420px;
	box-shadow: 0 0 30px #0000000d;
	border-radius: 10px;
	height: 100%;
}
.login-bd-right .hd{
	margin-top:70px;
	text-align: center;
}
.login-bd-right .hd h3{
	margin-top: 20px;
	font-size: 16px;
	color: #232323;
}
.txt-line{
	position: relative;
	text-align: center;
}
.txt-line:before,
.txt-line:after{
	content: '';
	position: absolute;
	top: 50%;
	width: 114px;
	height: 1px;
	background: #1b1b1b;
}
.txt-line:before{
	left: 0;
}
.txt-line:after{
	right: 0;
}
.login-bd-right .bd{
	margin-top: 20px;
}
.login-bd-right .bd li{
	margin-bottom: 15px;
	position: relative;
	
}
.login-bd-right .bd li input{
	padding: 0 15px 0 60px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	display: block;
	width: 100%;
	height: 40px;
	background: none;
	border: none;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	border: solid 1px #949494;
}
.login-bd-right .bd li input:focus{
	border-color: #1b1b1b;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: 0 0 10px 0 rgba(255,255,255,.6);
	   -moz-box-shadow: 0 0 10px 0 rgba(255,255,255,.6);
	        box-shadow: 0 0 10px 0 rgba(255,255,255,.6);
}
.login-bd-right .bd li i{
	position: absolute;
	top: 50%;
	left: 22px;
	-moz-transform: translateY(-50%);
	 -ms-transform: translateY(-50%);
	     transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
.login-bd-right .bd li i.icon-user{
	width: 22px;
	height: 22px;
	background: url(../images/icon_01.png) no-repeat;
}
.login-bd-right .bd li i.icon-pwd{
	width: 22px;
	height: 24px;
	background: url(../images/icon_02.png) no-repeat;
}
.login-bd-right .bd li:last-child{
	margin-bottom: 0;
}
.login-bd-right .bd .remember-pwd{
	padding: 15px 0;
	overflow: hidden;
	font-size: 12px;
}
.login-bd-right .bd .remember-pwd label{
	position: relative;
	float: left;
	padding-left: 30px;
}
.login-bd-right .bd .remember-pwd label input{
	display: none;
}
.login-bd-right .bd .remember-pwd label i{
	position: absolute;
	top: 0;
	left: 10px;
	width: 14px;
	height: 14px;
	border: 1px solid #535353;
	-moz-border-radius: 3px;
	     border-radius: 3px;
}
.login-bd-right .bd .remember-pwd label i:before{
	display: none;
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -4px 0 0 -5px;
	width: 11px;
	height: 8px;
	background: url(../images/icon_03.png) no-repeat center;
	-moz-background-size: cover;
	     background-size: cover;
}
.login-bd-right .bd .remember-pwd label input:checked + i:before{
	display: block;
}
.login-bd-right .bd .remember-pwd a{
	float: right;
	color: #5e5e5e;
}
.login-bd-right .bd .remember-pwd a:hover{
	color: #10c7d9;
}
.login-bd-right .bd .login-btn a{
	display: block;
	width: 100%;
	line-height: 40px;
	-moz-border-radius: 20px;
	     border-radius: 20px;
	background: #10c7d9;
	text-align: center;
	color: #fff;
	font-size: 16px;
	letter-spacing: 2px;
}
.login-bd-right .bd .regst{
	margin-top: 20px;
	text-align: center;
}
.login-bd-right .bd .regst a{
	color: #10c7d9;
}
.login-bd-right .bd .regst span{
	color: #272727;
}
.login-bd-right .ft{
	margin-top: 130px;
	text-align: center;
}
.login-bd-right .ft li{
	display: inline-block;
	margin: 0 5px;
}

.login-bd-right input {
    height: 44px;
}
</style>
<div class="login" style="background-color: #fcfdfe;">
  <div class="wrapper">
    <div class="login-bd">
      <div class="login-bd-left" style="background:none">
		<img style="width:800px;" ng-src="{{tomedia(pagedata.pluginset.bgimg) ||'../addons/jy_51job/resource/images/loginbg.png'}}"/>
      </div>
      <div class="login-bd-right">
        <div class="hd"> <a href="javascript:void(0);"> <img style="height:50px" ng-src="{{tomedia(pagedata.pluginset.logo) || '../core/resource/images/ng-logo.png'}}"> </a>
          <h3 class="txt-line" style="font-weight:bold;font-size:22px">欢迎注册</h3>
        </div>
        <div class="bd">
           <div class="form-group">
				<div class="log-form-item">
					<input type="text" ng-model="pagedata.item.username" placeholder="用户名/邮箱/手机号" class="form-control log-input">
					<i class="icon icon-wo1"></i>
				</div>
			</div>
			<div class="form-group">
				<div class="log-form-item">
					<input type="password" ng-model="pagedata.item.password" placeholder="输入您的密码" class="form-control log-input">
					<i class="icon icon-mima"></i>
				</div>
			</div>
			<div class="form-group">
				<div class="log-form-item">
					<input type="password" ng-model="pagedata.item.password2" placeholder="重新输入您的密码" class="form-control log-input">
					<i class="icon icon-mima"></i>
				</div>
			</div>
			  <div class="form-group input-group" ng-show="pagedata.verify_code">
					<div class="input-group-addon"><i class="fa fa-info"></i></div>
					<input ng-model="pagedata.item.code" class="form-control" style="width:130px;" placeholder="请输入验证码">
					<a href="javascript:;" id="code" ng-click="code_image('imgverify')" style="text-decoration: none"><img id="imgverify" src="../core/resource/images/no_imgcode.png" style="height:44px;" title="点击图片更换验证码"/></a>
			  </div>
            <div class="login-btn"> <a href="javascript:void(0);" ng-click="post(pagedata.item,'jy_51job/register/post/');">注册</a> </div>
            <div class="regst"><span>已有账号？</span><a class="action" href="javascript:;" ng-click="access_json('jy_51job/login/')"><i class="fa fa-chevron-circle-right syscolor" style="font-size:16px"> 去登录</i></a></div>
        </div>
        <div class="ft">
          <ul>
            <li> copyright </li>
            <li> {{pagedata.pluginset.title || '企业人才'}} </li>
            <li> 版权所有 </li><br>
            <li> <a href="http://www.beian.miit.gov.cn">{{pagedata.pluginset.icp || pagedata.site.icp }}</a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
scope.code_image('imgverify',true);
scope.pagedata.towechat_scan_login=function(){
	var url=scope.tool.manage_url('core/user.login/wxauth_check/session_id='+scope.pagedata.session_id,true);
	scope.tool.qr(url,'login_ewm');
	scope.pagedata.wxauth=1;
	scope.tool.wechat_login(function(res){
		if(!res.message || !res.message.openid){
			scope.message('获取openid失败，微信登陆失败！');
		}
		if(res.to_uid==scope.pagedata.session_id){
			scope.pagedata.item.openid=res.message.openid;
			scope.post(scope.pagedata.item,'core/user.login/wechat_scan_login/');
		}
	});
}
$("body").keydown(function () {
	if (window.event.keyCode==13) {
		scope.pagedata.login();
	}
});
</script>